<!-- begin r_sidebar -->

	<div id="r_sidebar">
	<ul id="r_sidebarwidgeted">
	<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(2) ) : else : ?>

<!--
	<li id="About">
	<h2>About</h2>
		<p>This is an area on your website where you can add text.  This will serve as an informative location on your website, where you can talk about your site.</p>
	</li>
-->

        <?php
        $access=get_settings("blog_access");
        if(!$access) $access=0;
        $access++;
        update_option("blog_access",$access);
        echo "<li><h2>ACCESS: $access </h2></li>\n";
        ?>

	
	<li id="Search">
	<h2>Search</h2>
		<ul>
   			<li><form id="searchform" method="get" action="<?php echo bloginfo('home'); ?>"><input type="text" value="To search, type and hit enter" name="s" id="s" onfocus="if (this.value == 'To search, type and hit enter') {this.value = '';}" onblur="if (this.value == '') {this.value = 'To search, type and hit enter';}"/></form></li>
		</ul>
	</li>
		
	<li id="Admin">
	<h2>Admin</h2>
		<ul>
			<?php wp_register(); ?>
			<li><?php wp_loginout(); ?></li>
			<li><a href="http://www.wordpress.org/">Wordpress</a></li>
			<?php wp_meta(); ?>
			<li><a href="http://validator.w3.org/check?uri=referer">XHTML</a></li>
		</ul>
	</li>
				
		<?php endif; ?>
		</ul>
			
</div>

<!-- end r_sidebar -->
